/*
 *  Terrain.c
 *  MapEdit
 *
 *  Created by Steven Canfield on 2/8/09.
 *  Copyright 2009 University of Puget Sound. All rights reserved.
 *
 */

#include "Terrain.h"

void swap_chk_era( chk_era_t * era ) {
	era->tileset = NSSwapLittleShortToHost( era->tileset );
}

void swap_chk_dim( chk_dim_t * dim ) {
	dim->height = NSSwapLittleShortToHost( dim->height );
	dim->width = NSSwapLittleShortToHost( dim->width );
}
